home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / X11R4 / cmds / X / os / sprite.X11R3 / osglobals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1989-10-09  |  1.6 KB  |  46 lines

  1. /*-
  2.  * osglobals.c --
  3.  *    Declarations of variables global to the os layer.
  4.  *
  5.  * Copyright (c) 1987 by the Regents of the University of California
  6.  * Copyright (c) 1987 by Adam de Boor, UC Berkeley
  7.  *
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  *
  17.  */
  18. #ifndef lint
  19. static char rcsid[] =
  20. "$Header: /mic/X11R3/src/cmds/Xsprite/os/sprite/RCS/osglobals.c,v 1.4 89/10/08 17:03:30 tve Exp Locker: tve $ SPRITE (Berkeley)";
  21. #endif lint
  22.  
  23. #include    "spriteos.h"
  24.  
  25. /*
  26.  * Bit masks for Fs_Select in scheduler
  27.  */
  28. int    *ClientsWithInputMask,    /* Clients with input waiting in their
  29.                  * buffers */
  30.     *LastSelectMask,        /* Result of last Fs_Select call */
  31.     *EnabledDevicesMask,    /* All enabled devices */
  32.     *SavedAllClientsMask,    /* AllClients mask during grab */
  33.     *AllClientsMask,        /* All active clients */
  34.     *SavedAllStreamsMask,    /* AllStreams mask during grab */
  35.     *AllStreamsMask;        /* All active streams (includes devices) */
  36.  
  37. int    NumActiveStreams,       /* Number of active streams */
  38.     MaxClients = MAXCLIENTS,
  39.     PseudoDevice;            /* Stream ID of X pseudo-device */
  40.  
  41. char    whichByteIsFirst;    /* Local byte order ('l' or 'B') */
  42.  
  43. Bool    GrabDone = FALSE;       /* TRUE if listening to only one client */
  44. ClientPtr grabbingClient;
  45. List_Links    allStreams;    /* All open streams */
  46.